using System;

namespace System
{
	/// <summary>
	/// Summary description for Counter.
	/// </summary>

	public class Counter
	{
		DateTime StartValue;

		public void Start()
		{
			StartValue = DateTime.Now;
		}

		public TimeSpan Elapsed()
		{
			DateTime tmpValue = StartValue;
			return (StartValue = DateTime.Now) - tmpValue;
		}

		public void Display()
		{
			Console.WriteLine(Elapsed().ToString());
		}

	}
}
